fixes for tests and PS1 colors