tests for status JS API fixed